package edu.tms.bean;


public class Permission {
	/**
	 * 权限id
	 */
	private Integer permissionId;

	/**
	 * 权限名称
	 */
	private String permissionName;

	/**
	 * 权限信息
	 */
	private String permissionInfo;

	/**
	 * 权限状态 1正常，2冻结
	 */
	private Integer permissionState;


	public Permission () {
		super();
	}

	public Permission (Integer permissionId,String permissionName,String permissionInfo,Integer permissionState) {
		this.permissionId = permissionId;
		this.permissionName = permissionName;
		this.permissionInfo = permissionInfo;
		this.permissionState = permissionState;
	}

	public Integer getPermissionId() {
		return this.permissionId;
	}

	public void setPermissionId(Integer permissionId) {
		this.permissionId = permissionId;
	}

	public String getPermissionName() {
		return this.permissionName;
	}

	public void setPermissionName(String permissionName) {
		this.permissionName = permissionName;
	}

	public String getPermissionInfo() {
		return this.permissionInfo;
	}

	public void setPermissionInfo(String permissionInfo) {
		this.permissionInfo = permissionInfo;
	}

	public Integer getPermissionState() {
		return this.permissionState;
	}

	public void setPermissionState(Integer permissionState) {
		this.permissionState = permissionState;
	}

	@Override
	public String toString() {
		return "Permission[permissionId=" + permissionId+ ", permissionName=" + permissionName + ", permissionInfo=" + permissionInfo + ", permissionState=" + permissionState + "]";
	}


}

